package com.wecan.base.utils;

import java.util.Calendar;

/**
 * @Author liuzhihao
 * @Date 2022.01.18
 * @Version ${version}
 * @Description ${description}
 */
public class AppDateUtils {
    public static int getYearMonthDay() {
        Calendar calendar = Calendar.getInstance();
        int year = calendar.get(Calendar.YEAR);
        int month = calendar.get(Calendar.MONTH) + 1;
        int day = calendar.get(Calendar.DATE);
        return year * 10000 + month * 100 + day;
    }
}
